home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / comm / asp_mdms.zip / MNP-9.TXT < prev    next >
Text File  |  1989-08-01  |  14KB  |  319 lines

  1.  
  2.                    MNP Error Correcting Modems
  3.  
  4. Overview
  5.  
  6. The Microcom Networking Protocol, MNP, is a communications
  7. protocol that supports interactive and file-transfer
  8. applications.  MNP is designed to conform to the
  9. International Organization for Standardization (ISO) Open
  10. System Interconnection (OSI) Network Reference Model, or
  11. simply the OSI model.  The OSI model is a network protocol
  12. divided into standardized layers (or modules).  The use of
  13. standardized layers assists in the interconnection of
  14. different vendors equipment.
  15.               ┌───────────────┐
  16.               │               │
  17.               │ Application   │
  18.               ├───────────────┤
  19.               │               │
  20.               │ Presentation  │
  21.               ├───────────────┤
  22.               │               │
  23.               │ Session       │
  24.               ├───────────────┤
  25.               │               │
  26.               │ Transport     │
  27.               ├───────────────┤
  28.               │               │
  29.               │ Network       │
  30.               ├───────────────┤
  31.           ┌─  │               │   ─┐
  32. Modem plus│   │ Data Link     │    │
  33. File Transfer ├───────────────┤    │ MNP Modem Connection
  34. Protocol  │   │               │    │
  35. i.e.Xmodem└─  │ Physical      │   ─┘
  36.               └───────────────┘
  37. The OSI model allows users to choose how their networking
  38. systems are partitioned and implemented.
  39.  
  40. The Link Layer of the OSI Network Model is responsible for
  41. provide reliable date transfer.  It uses the Physical
  42. Layer to transmit information through the data path.  In
  43. dial-up data communications, the data transmission of the
  44. Physical Layer is performed by "traditional" modems using
  45. standards such as Bell 103, Bell 212A and V.22 bis.
  46.  
  47. Traditional modems cannot provide guaranteed error-free data
  48. communications.  The noise and distortion characteristics of
  49. voice-grade telephone circuits are beyond the capabilities of
  50. any signal processing to deliver error-free data.  It is the
  51. task of the Link Layer to provide a means of error detection
  52. and error control.  Error detection when accessing Bulletin
  53. Boards is provided for file transfers by an error-correcting
  54. protocol (Xmodem for example) but there is no error detection
  55. present when reading ASCII text.  That's why garbled
  56. character can sneak thru but you can transfer a file
  57. successfully.
  58.  
  59. Microcom's MNP error-correcting modems provide the integrity
  60. of data transmission over voice-grade circuits for both file
  61. and text transmission when connected to another MNP equipment
  62. modem.  When connected to a "standard" modem there is no
  63. hardware error checking.  The user demand for error-free data
  64. communications has made Microcom MNP error-correcting modems
  65. a "standard" in the modem industry implemented by many modem
  66. manufactures.
  67.  
  68. (There is still a possibility of errors occurring in a MNP-to-
  69. MNP connection if they occur at either end between the serial
  70. port and the modem (in the cable) or in the computer itself.
  71. The probability for error is much, much less here than exists
  72. while the data is being transferred between modems. And, if you
  73. are transfering ARCed files, the CRC checking that occurs when
  74. the file is deARCed is enough to show you that the file transfer
  75. was successful.
  76.  
  77. While some people run an MNP-to-MNP file transfer with no
  78. additional error checking protocol, there are low-overhead
  79. protocols which transfer large blocks of data between
  80. acknowledgments of successful receipt and these are
  81. particularly well suited to use with the MNP-to-MNP
  82. connections.)
  83.  
  84. Performance Comparisons of MNP Classes
  85.  
  86. MNP is designed for easy implementation on many hardware
  87. configurations.  Different applications require different
  88. cost and performance mixes.  MNP is deliberately structured
  89. to provide different levels of performance without
  90. sacrificing compatibility.  Unlike other protocols,
  91. applications that require low-cost solutions can use simpler,
  92. less demanding implementations of MNP and MNP implementations
  93. at all performance levels are compatible with each other.  A
  94. small application with a simple implementation of MNP can
  95. communicate with a more powerful system using a high
  96. performance implementation of MNP.
  97.  
  98. The primary principle of MNP is each implementation
  99. communicates with all other implementations.  When an MNP
  100. communications link is being established, the MNP
  101. implementations will negotiate to operate at the highest
  102. mutually supported class of MNP service.
  103.  
  104. MNP assembles the user data into packets before
  105. retransmission.  The use of data protocols by the overhead a
  106. protocol introduces to the communication channel.  The
  107. protocol overhead reduces the effective data throughout of
  108. the communications channel.
  109.  
  110. A description of each MNP performance level follows.  The
  111. description shows how MNP offers the user greater throughput
  112. than the basic error-prone communication channel.
  113.  
  114. Class 1
  115.  
  116. This is the first level of MNP performance.  MNP Class 1 uses
  117. an asynchronous byte-oriented half-duplex method of
  118. exchanging data.  MNP Class 1 implementations make minimum
  119. demands on processor speeds and memory storage MNP Class 1
  120. makes it possible for devices with small hardware
  121. configurations to communicate error-free.
  122.  
  123. The protocol efficiency of a Class 1 implementation is about
  124. 70%.  A device using MNP Class 1 with a 2400 bps modem will
  125. realize 1690 bps throughput.  Modern microprocessors have
  126. become so powerful that implementations of MNP Class 1 are
  127. uncommon in the U.S.
  128.  
  129. Class 2
  130.  
  131. MNP Class 2 uses asynchronous byte-oriented full-duplex data
  132. exchange.  Almost all microprocessor-based hardware is
  133. capable of supporting MNP Class 2 performance.  Common
  134. microprocessor selected for MNP Class 2 implementations are
  135. Z80's and 6800's.
  136.  
  137. The protocol efficiency of a Class 2 implementation is about
  138. 84%.  A device using MNP Class 2 with a 2400 bps modem will
  139. realize 2000 bps throughput.  Most microprocessor-based
  140. hardware can easily implement MNP Class 2.
  141.  
  142. Class 3
  143.  
  144. MNP Class 3 uses synchronous bit-oriented full-duplex
  145. exchange.  The synchronous bit-oriented data format is
  146. inherently more efficient than the asynchronous byte-oriented
  147. data format.  It takes 10 bits to represent 8 data bits in
  148. the asynchronous data format because of the "start" and
  149. "stop" framing bits.  The synchronous data format eliminates
  150. the need for start and stop bits.  The user still sends data
  151. asynchronously to the Class 3 modem; meanwhile, the modems
  152. communicate with each other synchronously.
  153.  
  154. The protocol efficiency of a Class 3 implementation is about
  155. 108%.  A device using Class 3 with a 2400 bps modem will
  156. realize 2600 bps throughput.  At Class 3 performance, the MNP
  157. protocol "rewards" the user for using an error-correcting
  158. modem by producing 8% extra throughput over an ordinary modem
  159. without MNP.
  160.  
  161. The MultiTech 224E modem implements MNP Class 3.
  162.  
  163. Class 4
  164.  
  165. MNP Class 4 introduces two new concepts, Adaptive Packet
  166. Assembly(tm) and Data Phase Optimization(tm), to further
  167. improve the performance of an MNP modem.  During data
  168. transfer, MNP monitors the reliability of the transmission
  169. medium.  If the data channel is relatively error-free, MNP
  170. assembles larger data packets to increase throughput.  If the
  171. data is introducing many errors, then MNP assembles smaller
  172. data packets to transmit.  while smaller data packets
  173. increase protocol overhead, they concurrently decrease the
  174. throughput penalty of data retransmissions.  The result of
  175. smaller data packets is more data is successfully transmitted
  176. on the first try.
  177.  
  178. MNP protocol recognizes that during the data transfer phase
  179. of a connection, most of the administrative information in
  180. the data packet never changes.  Data Phase Optimization
  181. provides a method for eliminating some of the administrative
  182. information.  This procedure further reduces protocol
  183. overhead.
  184.  
  185. The protocol efficiency of a Class 4 implementation is about
  186. 120%.  A device using MNP Class 4 with a 2400 bps modem will
  187. realize approximately 2900 bps throughput.  With class 4
  188. performance, the MNP protocol produces 20% m